package pers.lls.im.core.common.bean;

import lombok.Data;

import java.util.Date;
import java.util.Map;

/**
 * 消息封装
 *
 * @author lihuan
 * @version V1.0 创建时间：2019/8/02
 * Copyright 2019 by landray & STIC
 */
@Data
public class ChatMessage {

    /**
     * 消息时间
     */
    private Date time;

    /**
     * 消息类型
     */
    private Integer type;

    /**
     * 消息值
     */
    private String value;

    /**
     * 用户token
     */
    private String token;

    /**
     * 消息接收人标识
     */
    private String receiver;

    private String receiverNick;

    private String receiveImg;

    /**
     * 群聊Id
     */
    private String groupId;


    private String sender;
    private String senderNick;
    private String senderImg;

    private Integer status;

    private Map<String, Integer> unRdmsg;
}
